<div class="form-group">
    <label class="col-xs-12 col-sm-3 col-md-2 control-label">分享标题</label>
    <div class="col-sm-9 col-xs-12">
           {ife 'shop.goods' $item}
        <input type="text" name="share_title" id="share_title" class="form-control" value="{$item['share_title']}" />
        <span class='help-block'>如果不填写，默认为商品名称</span>
        {else}
        <div class='form-control-static'>{$item['share_title']}</div>
        {/if}
    </div>
</div>
<!-- 
<div class="form-group">
    <label class="col-xs-12 col-sm-3 col-md-2 control-label">分享图标</label>
    <div class="col-sm-9 col-xs-12">
           {ife 'shop.goods' $item}
        {php echo tpl_form_field_image('share_icon', $item['share_icon'])}
        <span class='help-block'>如果不选择，默认为商品缩略图片</span>
             {else}
                            {if !empty($item['share_icon'])}
                            <a href='{php echo tomedia($item['share_icon'])}' target='_blank'>
                            <img src="{php echo tomedia($item['share_icon'])}" style='width:100px;border:1px solid #ccc;padding:1px' />
                            </a>
                            {/if}
                        {/if}
    </div>
</div> 
<div class="form-group">
    <label class="col-xs-12 col-sm-3 col-md-2 control-label">分享描述</label>
    <div class="col-sm-9 col-xs-12">
             {ife 'shop.goods' $item}
        <textarea name="description" class="form-control" >{$item['description']}</textarea>
        <span class='help-block'>如果不填写，默认为店铺名称</span>
             {else}
        <div class='form-control-static'>{$item['description']}</div>
        {/if}
    </div>
</div>-->
<div class="form-group">
	<label class="col-xs-12 col-sm-3 col-md-2 control-label">分享描述</label>
	<div class="col-sm-9 col-xs-12">
    	{ife 'shop.goods' $item}
        {php echo tpl_ueditor('description',$item['description'])}
        {else}
        <textarea id='description' style='display:none'>{$item['description']}</textarea>
        <a href='javascript:preview_html("#description")' class="btn btn-default">查看内容</a>
        {/if}
	</div>
</div>